<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<style>
    div {
        color: red;
    }
</style>
<div>非webpack构建</div>
</body>
<script entry>
    (global => {
        global['purehtml'] = {
            bootstrap: () => {
                console.log('purehtml bootstrap');
                return Promise.resolve();
            },
            mount: () => {
                return Promise.resolve();
            },
            unmount: () => {
                console.log('purehtml unmount');
                return Promise.resolve();
            },
        };
    })(window);
</script>
</html>